package v1

import "gin_mall/serializer"

func ErrorResponse(err error) serializer.Response {
	return serializer.Response{
		Status: 400,
		Data:   nil,
		Error:  err.Error(),
		Msg:    "参数错误!",
	}
}
